package com.ruoyi.car.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】对象 bus_car_package_audit
 * 
 * @author ruoyi
 * @date 2022-02-04
 */
@Setter
@Getter
public class BusCarPackageAudit extends BaseEntity
{
    public static final Integer STATUS_IN_ROGRESS = 0;//审核中
    public static final Integer STATUS_REJECT = 1;//审核拒绝
    public static final Integer STATUS_PASS = 2;//审核通过
    public static final Integer STATUS_CANCEL = 3;//审核撤销
    private static final long serialVersionUID = 1L;
    /** 主键*/
    private Long id;

    /** 服务单项id*/
    private Long serviceItemId;

    /** 服务单项名称*/
    private String serviceItemName;

    /** 服务单项备注*/
    private String serviceItemInfo;

    /** 服务单项审核价格*/
    private BigDecimal serviceItemPrice;

    /** 流程实例id*/
    private String instanceId;

    /** 创建者*/
    private String creator;

    /** 当前审核人id*/
    private Long auditorId;
    /**  当前审核人名称*/
    private String auditorName;
    /** 关联流程id*/
    private Long bpmninfoId;

    /** 备注*/
    private String info;

    /** 状态【进行中0/审核拒绝1/审核通过2/审核撤销3】*/
    private Integer status = STATUS_IN_ROGRESS;

    /** 审核时间*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date auditTime;

    /** 创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    /** 已审核人的ID*/
    private String auditUserIds;
}
